package com.ruoyi.model.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
@TableName("web_log")
public class LogEntity {
    /*日志编号*/
    @Excel(name = "日志编号")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /*操作时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*业务名称*/
    @Excel(name = "业务名称")
    private String executionName;

    /*操作人*/
    @Excel(name = "操作人")
    private String executionPeople;

    /*操作类型*/
    @Excel(name = "操作类型")
    private String executionType;

    /*操作的ip地址*/
    @Excel(name = "哪个ip地址操作的")
    private String executionIp;

    /*隶属于哪一个日志信息*/
    @Excel(name = "隶属于哪一个日志信息")
    private String logType;
}
